package com.s20y.register;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@Slf4j
@EnableEurekaServer
@SpringBootApplication
public class RegisterApplication {
    public static void main(String[] args) {
        log.info("=======启动服务注册中心 eureka-server 服务项目中=======");
        SpringApplication.run(RegisterApplication.class, args);
        log.info("=======启动服务注册中心 eureka-server 服务项目成功=======");
    }
}
